var app = angular.module('myApp', []);



app.controller('firstController', function($scope, $http) {});

app.directive('hello', function(){
	return {
		'restrict': 'EACM',//E:元素，<myDirect></myDirect>;A:属性，<div myDirect></div>;C:样式，<div class="myDirect"></div>;M:注释，<!-- directive: myDirect -->
		template : '<p>Hi, Here</p>',//模板
		replace: true//替换当前标签
	};
});